<?php
ob_start();
session_start();
$start = microtime(true);
$inc = '../include';
require_once("$inc/header.php");
require_once("$inc/userlog.php");
/******************************/

echo '<div id="left">';

if(isset($_GET['a'])) {
	switch($_GET['a']) {
		case 'log':
			$logs = new userlog($_SESSION['user']);
			$logs->get_last_logins();
			break;
		default:
	}
} else {
	echo 'User page';
}

echo '</div>';

/******************************/
require_once("$inc/right.php");
require_once("$inc/footer.php");
ob_end_flush();
?>

